package com.yami.shop.personnft.common.dao;

import com.yami.shop.personnft.common.model.ShowroomDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShowroomDetailsMapper {
    long countByExample(@Param("record") ShowroomDetails record);

    int deleteByPrimaryKey(Integer id);
    int deleteByShowId(Integer showId);
    int insert(ShowroomDetails record);

    int insertSelective(ShowroomDetails record);

    List<ShowroomDetails> selectByExample(@Param("record") ShowroomDetails record);

    ShowroomDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(@Param("record") ShowroomDetails record);

    //批量藏品信息添加
    void batchInsertShowDetail(@Param("showroomDetailsList") List<ShowroomDetails> showroomDetailsList);

    //批量修改藏品信息
    void bactchUpdateShowDetail(@Param("showroomDetailsList") List<ShowroomDetails> showroomDetailsList);
}